"""
Initialize Flask app

"""

from flask import Flask, url_for, request
from datetime import timedelta

app = Flask('application')
app.config.from_object('application.settings')
import urls

def jinja_secondsFormat(value):
	td = timedelta(seconds=value)
	return str(td)

app.jinja_env.filters['secondsFormat'] = jinja_secondsFormat


